/*
 * Created by JFormDesigner on Thu Oct 27 20:22:26 CST 2022
 */

package com.liyu.ui;

import javax.swing.*;
import javax.swing.table.DefaultTableModel;
import java.awt.*;
import java.awt.event.MouseAdapter;
import java.awt.event.MouseEvent;


/**
 * @author Slcccc
 */
public class PersInformationFrame extends JFrame {
    public PersInformationFrame() {
        initComponents();
    }

    private void table1MouseClicked(MouseEvent e) {
        // TODO add your code here
    }

    private void initComponents() {
        // JFormDesigner - Component initialization - DO NOT MODIFY  //GEN-BEGIN:initComponents  @formatter:off
        panel2 = new JPanel();
        panel1 = new JPanel();
        panel5 = new JPanel();
        label4 = new JLabel();
        textField1 = new JTextField();
        label7 = new JLabel();
        panel6 = new JPanel();
        label5 = new JLabel();
        radioButton1 = new JRadioButton();
        radioButton2 = new JRadioButton();
        radioButton3 = new JRadioButton();
        panel7 = new JPanel();
        label8 = new JLabel();
        passwordField1 = new JPasswordField();
        label9 = new JLabel();
        panel8 = new JPanel();
        label10 = new JLabel();
        textField2 = new JTextField();
        tip_phone = new JLabel();
        panel9 = new JPanel();
        label11 = new JLabel();
        scrollPane1 = new JScrollPane();
        textArea1 = new JTextArea();
        tip_address = new JLabel();
        panel10 = new JPanel();
        button3 = new JButton();
        button2 = new JButton();
        panel11 = new JPanel();
        label12 = new JLabel();
        label13 = new JLabel();
        panel3 = new JPanel();
        label3 = new JLabel();
        panel4 = new JPanel();
        button1 = new JButton();
        menuBar = new JMenuBar();
        selfMenu = new JMenu();
        menuItem1 = new JMenuItem();
        menuItem2 = new JMenuItem();
        menuItem6 = new JMenuItem();
        helpMenu = new JMenu();
        menuItem3 = new JMenuItem();
        menuItem4 = new JMenuItem();
        masterMenu = new JMenu();
        menuItem5 = new JMenuItem();
        label2 = new JLabel();

        //======== this ========
        setResizable(false);
        setName("frame1");
        setTitle("\u4e2a\u4eba\u4fe1\u606f\u9875\u9762");
        Container contentPane = getContentPane();
        contentPane.setLayout(null);

        //======== panel2 ========
        {
            panel2.setLayout(new BorderLayout());

            //======== panel1 ========
            {
                panel1.setLayout(null);

                //======== panel5 ========
                {
                    panel5.setLayout(new FlowLayout(FlowLayout.LEFT));

                    //---- label4 ----
                    label4.setText("\u6635\u79f0\uff1a");
                    label4.setPreferredSize(new Dimension(56, 17));
                    panel5.add(label4);

                    //---- textField1 ----
                    textField1.setPreferredSize(new Dimension(200, 30));
                    panel5.add(textField1);

                    //---- label7 ----
                    label7.setText("tip:\u4e0d\u8d85\u8fc7\u5341\u4e2a\u5b57\u5594~");
                    panel5.add(label7);
                }
                panel1.add(panel5);
                panel5.setBounds(5, 5, 395, 45);

                //======== panel6 ========
                {
                    panel6.setLayout(new FlowLayout(FlowLayout.LEFT));

                    //---- label5 ----
                    label5.setText("\u6027\u522b\uff1a");
                    label5.setPreferredSize(new Dimension(56, 17));
                    panel6.add(label5);

                    //---- radioButton1 ----
                    radioButton1.setText("\u7537");
                    panel6.add(radioButton1);

                    //---- radioButton2 ----
                    radioButton2.setText("\u5973");
                    panel6.add(radioButton2);

                    //---- radioButton3 ----
                    radioButton3.setText("secret");
                    panel6.add(radioButton3);
                }
                panel1.add(panel6);
                panel6.setBounds(5, 50, 395, 45);

                //======== panel7 ========
                {
                    panel7.setLayout(new FlowLayout(FlowLayout.LEFT));

                    //---- label8 ----
                    label8.setText("\u8d26\u53f7\u5bc6\u7801\uff1a");
                    panel7.add(label8);

                    //---- passwordField1 ----
                    passwordField1.setPreferredSize(new Dimension(200, 30));
                    panel7.add(passwordField1);

                    //---- label9 ----
                    label9.setText("tip:\u4e0d\u8d85\u8fc720\u4e2a\u5b57\u7b26\u5594~");
                    panel7.add(label9);
                }
                panel1.add(panel7);
                panel7.setBounds(5, 95, 395, 45);

                //======== panel8 ========
                {
                    panel8.setLayout(new FlowLayout(FlowLayout.LEFT));

                    //---- label10 ----
                    label10.setText("\u8054\u7cfb\u7535\u8bdd\uff1a");
                    panel8.add(label10);

                    //---- textField2 ----
                    textField2.setPreferredSize(new Dimension(200, 30));
                    panel8.add(textField2);

                    //---- tip_phone ----
                    tip_phone.setPreferredSize(new Dimension(100, 30));
                    panel8.add(tip_phone);
                }
                panel1.add(panel8);
                panel8.setBounds(5, 140, 395, 45);

                //======== panel9 ========
                {
                    panel9.setLayout(new FlowLayout(FlowLayout.LEFT));

                    //---- label11 ----
                    label11.setText("\u90ae\u5bc4\u5730\u5740\uff1a");
                    panel9.add(label11);

                    //======== scrollPane1 ========
                    {

                        //---- textArea1 ----
                        textArea1.setPreferredSize(new Dimension(250, 100));
                        scrollPane1.setViewportView(textArea1);
                    }
                    panel9.add(scrollPane1);

                    //---- tip_address ----
                    tip_address.setPreferredSize(new Dimension(70, 30));
                    panel9.add(tip_address);
                }
                panel1.add(panel9);
                panel9.setBounds(5, 185, 395, panel9.getPreferredSize().height);

                //======== panel10 ========
                {
                    panel10.setLayout(new FlowLayout(FlowLayout.RIGHT));

                    //---- button3 ----
                    button3.setText("\u6ce8\u9500\u8d26\u53f7");
                    panel10.add(button3);

                    //---- button2 ----
                    button2.setText("\u4fee\u6539\u4fe1\u606f");
                    panel10.add(button2);
                }
                panel1.add(panel10);
                panel10.setBounds(35, 340, 365, 45);

                //======== panel11 ========
                {
                    panel11.setLayout(new FlowLayout(FlowLayout.LEFT));

                    //---- label12 ----
                    label12.setText("\u8fdd\u89c4\u6b21\u6570\uff1a");
                    panel11.add(label12);

                    //---- label13 ----
                    label13.setText("0\u6b21\uff0c\u60a8\u7684\u4fe1\u7528\u826f\u597d~");
                    panel11.add(label13);
                }
                panel1.add(panel11);
                panel11.setBounds(5, 300, 365, 45);

                {
                    // compute preferred size
                    Dimension preferredSize = new Dimension();
                    for(int i = 0; i < panel1.getComponentCount(); i++) {
                        Rectangle bounds = panel1.getComponent(i).getBounds();
                        preferredSize.width = Math.max(bounds.x + bounds.width, preferredSize.width);
                        preferredSize.height = Math.max(bounds.y + bounds.height, preferredSize.height);
                    }
                    Insets insets = panel1.getInsets();
                    preferredSize.width += insets.right;
                    preferredSize.height += insets.bottom;
                    panel1.setMinimumSize(preferredSize);
                    panel1.setPreferredSize(preferredSize);
                }
            }
            panel2.add(panel1, BorderLayout.EAST);

            //======== panel3 ========
            {
                panel3.setLayout(new BorderLayout());

                //---- label3 ----
                label3.setPreferredSize(new Dimension(200, 200));
                label3.setIcon(new ImageIcon("C:\\Users\\ASUS\\Pictures\\Camera Roll\\2025535.jpg"));
                label3.setVerticalAlignment(SwingConstants.TOP);
                panel3.add(label3, BorderLayout.WEST);

                //======== panel4 ========
                {
                    panel4.setPreferredSize(new Dimension(200, 200));
                    panel4.setLayout(new FlowLayout());

                    //---- button1 ----
                    button1.setText("\u8bbe\u7f6e\u5934\u50cf");
                    panel4.add(button1);
                }
                panel3.add(panel4, BorderLayout.SOUTH);
            }
            panel2.add(panel3, BorderLayout.WEST);
        }
        contentPane.add(panel2);
        panel2.setBounds(0, 22, 605, 400);

        //======== menuBar ========
        {

            //======== selfMenu ========
            {
                selfMenu.setText("\u6211\u7684");

                //---- menuItem1 ----
                menuItem1.setText("\u4e2a\u4eba\u4fe1\u606f\u7ba1\u7406>");
                menuItem1.setEnabled(false);
                selfMenu.add(menuItem1);

                //---- menuItem2 ----
                menuItem2.setText("\u4e2a\u4eba\u5546\u54c1\u7ba1\u7406>");
                selfMenu.add(menuItem2);

                //---- menuItem6 ----
                menuItem6.setText("\u5546\u54c1\u6d4f\u89c8>");
                selfMenu.add(menuItem6);
            }
            menuBar.add(selfMenu);

            //======== helpMenu ========
            {
                helpMenu.setText("\u5e2e\u52a9");

                //---- menuItem3 ----
                menuItem3.setText("\u83b7\u53d6\u66f4\u65b0");
                helpMenu.add(menuItem3);

                //---- menuItem4 ----
                menuItem4.setText("\u4f7f\u7528\u8bf4\u660e");
                helpMenu.add(menuItem4);
            }
            menuBar.add(helpMenu);

            //======== masterMenu ========
            {
                masterMenu.setText("\u7ba1\u7406");

                //---- menuItem5 ----
                menuItem5.setText("\u524d\u5f80\u7ba1\u7406\u5458\u754c\u9762>");
                masterMenu.add(menuItem5);
            }
            menuBar.add(masterMenu);
        }
        contentPane.add(menuBar);
        menuBar.setBounds(0, 0, 803, menuBar.getPreferredSize().height);

        {
            // compute preferred size
            Dimension preferredSize = new Dimension();
            for(int i = 0; i < contentPane.getComponentCount(); i++) {
                Rectangle bounds = contentPane.getComponent(i).getBounds();
                preferredSize.width = Math.max(bounds.x + bounds.width, preferredSize.width);
                preferredSize.height = Math.max(bounds.y + bounds.height, preferredSize.height);
            }
            Insets insets = contentPane.getInsets();
            preferredSize.width += insets.right;
            preferredSize.height += insets.bottom;
            contentPane.setMinimumSize(preferredSize);
            contentPane.setPreferredSize(preferredSize);
        }
        setSize(620, 460);
        setLocationRelativeTo(getOwner());

        //---- label2 ----
        label2.setText("text");

        //---- buttonGroup1 ----
        ButtonGroup buttonGroup1 = new ButtonGroup();
        buttonGroup1.add(radioButton1);
        buttonGroup1.add(radioButton2);
        buttonGroup1.add(radioButton3);
        // JFormDesigner - End of component initialization  //GEN-END:initComponents  @formatter:on
    }

    // JFormDesigner - Variables declaration - DO NOT MODIFY  //GEN-BEGIN:variables  @formatter:off
    private JPanel panel2;
    private JPanel panel1;
    private JPanel panel5;
    private JLabel label4;
    private JTextField textField1;
    private JLabel label7;
    private JPanel panel6;
    private JLabel label5;
    private JRadioButton radioButton1;
    private JRadioButton radioButton2;
    private JRadioButton radioButton3;
    private JPanel panel7;
    private JLabel label8;
    private JPasswordField passwordField1;
    private JLabel label9;
    private JPanel panel8;
    private JLabel label10;
    private JTextField textField2;
    private JLabel tip_phone;
    private JPanel panel9;
    private JLabel label11;
    private JScrollPane scrollPane1;
    private JTextArea textArea1;
    private JLabel tip_address;
    private JPanel panel10;
    private JButton button3;
    private JButton button2;
    private JPanel panel11;
    private JLabel label12;
    private JLabel label13;
    private JPanel panel3;
    private JLabel label3;
    private JPanel panel4;
    private JButton button1;
    private JMenuBar menuBar;
    private JMenu selfMenu;
    private JMenuItem menuItem1;
    private JMenuItem menuItem2;
    private JMenuItem menuItem6;
    private JMenu helpMenu;
    private JMenuItem menuItem3;
    private JMenuItem menuItem4;
    private JMenu masterMenu;
    private JMenuItem menuItem5;
    private JLabel label2;
    // JFormDesigner - End of variables declaration  //GEN-END:variables  @formatter:on
}
